package com.atguigu.springcloud.alibaba.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atguigu.springcloud.entities.CommonResult;

/**
 * @Author Kevin
 * @Date 2021-04-18 19:42:34
 */
public class CustomerBlockHandler {
    public static CommonResult handleException01(BlockException exception) {
        return new CommonResult(4444, "自定义的限流处理信息，handleException01");
    }

    public static CommonResult handleException02(BlockException exception) {
        return new CommonResult(4444, "自定义的限流处理信息，handleException02");
    }
}
